package com.ztgf.order.models.service;

import com.baomidou.mybatisplus.plugins.Page;
import com.ztgf.order.models.bo.OrderShopStatisticsBO;
import com.ztgf.order.models.bo.OrderStatisticsBO;
import com.ztgf.order.models.vo.OrderCommodityStatisticsShopVO;
import com.ztgf.order.models.vo.OrderCommodityStatisticsVO;

/**
 * author: chenyu.wang
 * date: 2020-07-24 15:14
 * Description: 后台管理系统产品统计服务
 */
public interface IOrderCommodityStatisticsService {

    /**
     * description: 当前平台商品总量
     * param: []
     * author: chenyu.wang
     * date: 2020-07-24
     * return: java.lang.Integer
     */
    Integer queryCommodityTotal();

    /*
     * @description:后台管理系统产品统计各类目整体商品统计
     * @author: chenyu.wang
     * @date: 2020-08-10
     * @param:
     * @return:
     */
    Page<OrderCommodityStatisticsVO> queryCategoryGoods(OrderStatisticsBO bo);

    /*
     * @description:后台管理系统产品统计店铺类目商品数量
     * @author: chenyu.wang
     * @date: 2020-08-10
     * @param:
     * @return:
     */
    Page<OrderCommodityStatisticsShopVO> numberOfProductsInStoreCategory(OrderShopStatisticsBO bo);
}
